package com.ihteima.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * ClassName: ResponseCodeEnum
 * Package: com.ihteima.exception
 * Description:
 *
 * @Auther gongkaiming
 * @Create 2025/10/26 18:13
 * @Version 1.0
 */
@Getter
@AllArgsConstructor
public enum ResponseCodeEnum implements BaseExceptionInterface{

    SYSTEM_ERROR("AUTH-10000", "出错啦，后台小哥正在努力修复中..."),
    PARAM_NOT_VALID("AUTH-10001", "参数错误"),
    
    REGISTRY_FAIL("AUTH-10002", "注册失败"),
    LOGIN_FAIL("AUTH-10003", "登录失败"),

    USER_NOT_EXIST("AUTH-10004", "用户不存在"),
    PASSWORD_NOT_CORRECT("AUTH-10005", "密码不正确"),
    NOT_AUTHORIZATION("AUTH-10006", "无权限修改"),
    
    UPDATE_FAIL("AUTH-10007", "修改失败"),
    ;
    
    
    private final String errorCode;
    private final String errorMessage;
}
